forEach eventListener iteration increases every time the function is called